package com.wowudi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wowudi.domain.Drug;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface DrugService extends IService<Drug>{
    public Page findAllBySearch(int size,int current,String name);

    public boolean addDrug(Drug Drug);

    public boolean delDrugById(int id);

    public Drug findById(int id);

    public boolean updateById(Drug Drug);

    public boolean updateStatusById(String status,int id);


}
